projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79bbad2
)
[POWERPC][XEN] Use correct register set in dump_execution_state().
author
Hollis Blanchard
<hollisb@us.ibm.com>
Wed, 21 Mar 2007 22:02:59 +0000
(17:02 -0500)
committer
Hollis Blanchard
<hollisb@us.ibm.com>
Wed, 21 Mar 2007 22:02:59 +0000
(17:02 -0500)
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
xen/arch/powerpc/backtrace.c
patch
|
blob
|
history
diff --git
a/xen/arch/powerpc/backtrace.c
b/xen/arch/powerpc/backtrace.c
index 30e4ffde2ed6b9579179b36dc4d3b2b02eb9aac2..badbd9d2e5a0103ec62c5edf7340c30c91f7edec 100644
(file)
--- a/
xen/arch/powerpc/backtrace.c
+++ b/
xen/arch/powerpc/backtrace.c
@@
-222,8
+222,7
@@
void __warn(char *file, int line)
void dump_execution_state(void)
{
- struct vcpu *v = current;
- struct cpu_user_regs *regs = &v->arch.ctxt;
+ struct cpu_user_regs *regs = guest_cpu_user_regs();
show_registers(regs);
if (regs->msr & MSR_HV) {